package com.example.countdownlatch;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/demo")
public class TestController {

    @GetMapping(value = "/test")
    public String test(){
        Thread thread = Thread.currentThread();
        System.out.println(thread);
        return "OK";
    }

}
